#
# Be sure to run `pod lib lint PBDebug.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = 'PBDebug'
  s.version          = '0.1.0'
  s.summary          = 'A short description of PBDebug.'

# This description is used to generate tags and improve search results.
#   * Think: What does it do? Why did you write it? What is the focus?
#   * Try to keep it short, snappy and to the point.
#   * Write the description between the DESC delimiters below.
#   * Finally, don't worry about the indent, CocoaPods strips it!

  s.description      = <<-DESC
TODO: Add long description of the pod here.
                       DESC

  s.homepage         = 'https://gitee.com/clh2046_admin/PBDebug'
  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { 'clh2046@163.com' => 'clh2046@163.com' }
  s.source           = { :git => 'https://gitee.com/clh2046_admin/PBDebug.git', :tag => s.version.to_s }
  # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'

  s.ios.deployment_target = '10.0'

  s.source_files = 'PBDebug/Classes/PBDebug.h'
  s.public_header_files = 'PBDebug/Classes/PBDebug.h'
  
  s.subspec 'Common' do |common|
      common.source_files = 'PBDebug/Classes/Common/**/*'
      common.public_header_files = 'PBDebug/Classes/Common/**/*.h'
  end
  
  s.subspec 'Debug' do |ebug|
      ebug.source_files = 'PBDebug/Classes/Debug/**/*'
      ebug.public_header_files = 'PBDebug/Classes/Debug/**/*.h'
  end
  
  s.subspec 'HYBUnicodeReadable' do |readable|
      readable.source_files = 'PBDebug/Classes/HYBUnicodeReadable/**/*'
      readable.public_header_files = 'PBDebug/Classes/HYBUnicodeReadable/**/*.h'
  end
  
  s.subspec 'NetworkDome' do |networkDome|
      networkDome.source_files = 'PBDebug/Classes/NetworkDome/**/*'
      networkDome.public_header_files = 'PBDebug/Classes/NetworkDome/**/*.h'
  end
  
  s.subspec 'Portal' do |portal|
      portal.source_files = 'PBDebug/Classes/Portal/**/*'
      portal.public_header_files = 'PBDebug/Classes/Portal/**/*.h'
  end
  
  # s.resource_bundles = {
  #   'PBDebug' => ['PBDebug/Assets/*.png']
  # }

  # s.public_header_files = 'Pod/Classes/**/*.h'
  # s.frameworks = 'UIKit', 'MapKit'
   s.dependency 'CoreCode'
   s.dependency 'BaseCode'
   s.dependency 'ServiceCode'
   s.dependency 'FLAnimatedImage'
   s.dependency 'SDWebImage'
   s.dependency 'SDWebImage/GIF'
   s.dependency 'SDWebImage/WebP'
end
